import httpService from './request';

export function getRecipes() {
	return httpService.get('/api/recipes');
}

// 新增配方
export function addRecipe(data: any) {
  return httpService.post('/api/recipes', { data });
}

export function getOilList(data: any) {
	return httpService.get('/api/oil-basic-infos/grouped', { params: data });
}
